import models.Dish;
import models.Order_item;
import play.jobs.Job;
import play.jobs.OnApplicationStart;
import play.test.Fixtures;

@OnApplicationStart
public class Bootstrap extends Job{
	public void doJob(){	
		if (Dish.count() == 0){
			Fixtures.loadModels("sampleData.yml");
		}
	}
}
